package com.ruoyi.kindergarten.config;
import com.ruoyi.kindergarten.websocket.IotWebSocketService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.socket.config.annotation.WebSocketConfigurer;
import org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry;
import org.springframework.web.socket.server.HandshakeInterceptor;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;


@Configuration
public class webSocketConfig {
    @Bean
    public ServerEndpointExporter  serverEndpointExporter() {
        return new ServerEndpointExporter();
    }

}
